import QtQuick 2.0
Rectangle {
    id: body
    property string otext:""
    signal go
    width: 100
    height: 30
    color: "darkgrey"
    Text {
        anchors.fill: parent
        color:"#303030"
        text: qsTr(otext)
        font.bold: true
        font.pointSize: 14
        horizontalAlignment: Text.AlignHCenter
        verticalAlignment: Text.AlignVCenter
    }
    MouseArea
    {
        anchors.fill: parent
        onClicked:
        {
            body.go()
        }
    }
}
